package edu.uis.csc478.spring09.threeoxen.persistence.pantry.impl;

import edu.uis.csc478.spring09.threeoxen.persistence.pantry.GroceryList;
import edu.uis.csc478.spring09.threeoxen.persistence.pantry.GroceryListItem;
import edu.uis.csc478.spring09.threeoxen.persistence.pantry.Pantry;
import edu.uis.csc478.spring09.threeoxen.persistence.pantry.PantryObjectFactory;
import edu.uis.csc478.spring09.threeoxen.persistence.pantry.PantryRepository;
import edu.uis.csc478.spring09.threeoxen.persistence.pantry.Recipe;
import edu.uis.csc478.spring09.threeoxen.persistence.pantry.RecipeIngredient;

public class PantryObjectFactoryImpl implements PantryObjectFactory {

    @Override
    public PantryRepository createPantryRepository() {
        return new PantryRepositoryImpl();
    }

    @Override
    public Pantry createPantry() {
        return new PantryImpl();
    }

    @Override
    public GroceryList createGroceryList() {
        return new GroceryListImpl();
    }

    @Override
    public GroceryListItem createGroceryListItem() {
        return new GroceryListItemImpl();
    }

    @Override
    public Recipe createRecipe() {
        return new RecipeImpl();
    }

    @Override
    public RecipeIngredient createRecipeIngredient() {
        return new RecipeIngredientImpl();
    }
}
